{% extends "base.html" %}

{% block title %}Home{% endblock %}

{% block content %}
<!-- 导航栏 -->
<div class="side-navbar mb-3">
    <a class="navbar-brand" href="{{ url_for('index') }}">
        <i class="fas fa-chart-line"></i> Trading Analyzer
    </a>
    <a class="nav-link" href="{{ url_for('trades') }}">
        <i class="fas fa-list"></i> Trades
    </a>
    <a class="nav-link" href="{{ url_for('statistics_page') }}">
        <i class="fas fa-chart-bar"></i> Statistics
    </a>
</div>

<div class="jumbotron">
    <h1 class="display-4">Welcome to Trading Analyzer</h1>
    <p class="lead">A powerful tool for analyzing your trading performance.</p>
    <hr class="my-4">
    <p>Get started by importing your trade data or viewing existing trades.</p>
    <a class="btn btn-primary btn-lg" href="{{ url_for('import_orders') }}" role="button">Import Orders</a>
    <a class="btn btn-secondary btn-lg" href="{{ url_for('trades') }}" role="button">View Trades</a>
</div>
{% endblock %} 